<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="/callimachus/template.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:calli="http://callimachusproject.org/rdf/2009/framework#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:skos="http://www.w3.org/2004/02/skos/core#"
    xmlns:vcard="http://www.w3.org/2006/vcard/ns#"
    xmlns:gr="http://purl.org/goodrelations/v1#"
    xmlns:directory="http://dir.w3.org/rdf/2012/directory/">
<head>
	<title about="?this">{gr:legalName}</title>
</head>
<body about="?this">
	<hgroup>
		<h1 property="gr:legalName" />
		<h2 property="vcard:organization-unit" />
	</hgroup>
    <div id="sidebar">
        <aside class="optional">
        	<h3>Business Units</h3>
			<ul rel="directory:hasOrganizationalUnit" class="sorted">
				<li about="?unit" typeof="vcard:Organization">
					<a href="{?unit}" class="asc">{vcard:organization-unit}</a>
				</li>
			</ul>
    	</aside>
        <aside class="optional">
    		<h3>Contact</h3>
			<ul rev="vcard:org" class="sorted">
				<li about="?person" typeof="foaf:Person">
					<a href="{?person}" class="asc">{foaf:name}</a>
					<span property="vcard:role" content="?role">
						({?role})
					</span>
				</li>
			</ul>
    	</aside>
    	<aside class="optional">
            <h3>Products, services, or projects</h3>
			<ul rev="gr:hasManufacturer" class="sorted">
				<li about="?service" typeof="gr:ProductOrServiceModel">
					<a href="{?service}" class="asc" property="rdfs:label" />
				</li>
			</ul>
    	</aside>
		<aside class="optional">
            <h3>Deployments</h3>
			<ul rev="directory:hasParticipant" class="sorted">
				<li about="?project" typeof="foaf:Project">
					<a href="{?project}" class="asc" property="rdfs:label" />
				</li>
			</ul>
        	<p><a about="Project" href="Project"
                onmousedown="this.href='?create='+$(this).attr('about')">Add deployment</a></p>
		</aside>
		<aside class="optional">
            <h3>Experience</h3>
			<ul class="sorted">
				<li rel="vcard:category" resource="?category">
					<a href="{?category}?whatlinkshere" class="asc">{skos:prefLabel}</a>
				</li>
			</ul>
		</aside>
    	<aside class="aside protected">
    		<p>To add contacts, experience, products, services, or projects click on the edit tab at the top</p>
    	</aside>
    </div>
	<label>Contact information</label>
    <div class="hbox">
		<a href="{vcard:url}" target="_blank">{vcard:url}</a>
		<a href="mailto:{vcard:workEmail}" property="vcard:workEmail" />
		<a href="tel:{vcard:workTel}" property="vcard:workTel" />
	</div>
	<div class="hbox">
		<p class="vbox" rel="vcard:adr" resource="?adr">
		    {vcard:street-address} {vcard:extended-address} {vcard:post-office-box}<br />
		    {vcard:locality} {vcard:region}<br />
		    {vcard:postal-code}<br />
		    {vcard:country-name}<br />
		</p>
	</div>
    <div id="img" rel="foaf:depiction" resource="?img" style="margin: 0px 1ex 1ex 0px;max-width:40em">
		<a href="{?img}" class="view"><img src="{?img}?small" style="max-height:100%;max-width:40em" /></a>
	</div>
	<label>Description</label>
    <pre class="wiki" property="vcard:note" content="?note">{?note}</pre>
</body>
</html>
